package com.glp.work.flow.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

/** 
* 开始一个工作流-请求报文
* @author  pengjia 
* @version 2020年3月9日 下午1:12:30 
*/
@Data
@ApiModel(value = "开始一个工作流-请求报文")
public class ProcessInitiateRequest {

	@ApiModelProperty(value = "应用ID")
	private String appId;
	@ApiModelProperty(value = "工单ID（外部-业务上需唯一）")
	private String orderId;
	@ApiModelProperty(value = "工单标题")
	private String orderTitle;
	@ApiModelProperty(value = "流程定义ID")
	private String procDefKey;

	@ApiModelProperty(value = "流程参数")
	private Map<String, Object> processVariable;
	@ApiModelProperty(value = "动态表单数据")
	private Map<String, Object> dynamicForm;

	@ApiModelProperty(value = "提交人ID")
	private String userId;
	@ApiModelProperty(value = "提交人")
	private String userName;
	@ApiModelProperty(value = "提交时间(yyyy-MM-dd HH:mm:ss)")
	private String submitTime;
	@ApiModelProperty(value = "批次")
	private String batch;
	@ApiModelProperty(value = "备注")
	private String remarks;
	@ApiModelProperty(value = "查询条件1")
	private String index_1;

	@ApiModelProperty(value = "查询条件2")
	private String index_2;

	@ApiModelProperty(value = "查询条件3")
	private String index_3;

	@ApiModelProperty(value = "发起节点所对应的业务范围")
	private String businessScopebCode;

	@ApiModelProperty(value = "动态分配用户集合")
	private List<String> userNos;

	@ApiModelProperty(value = "动态分配用户集合")
	private List<String> dynamicUserNos;
	
}
